package cn.edu.njpi.service.impl;

import cn.edu.njpi.mapper.TSchoolAdminMapper;
import cn.edu.njpi.model.TSchoolAdmin;
import cn.edu.njpi.service.TSchoolAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 朱宗辉
 * @version V1.0
 * @Package cn.edu.njpi.service.impl
 * @date 2022/4/20 4:58 PM
 */
@Service
public class TSchoolAdminServiceImpl implements TSchoolAdminService {
    @Autowired
    private TSchoolAdminMapper tSchoolAdminMapper;

    @Override
    public TSchoolAdmin selectTSchoolAdminByUserId(Integer userId) {
        return tSchoolAdminMapper.selectTSchoolAdminByUserId(userId);
    }
}
